Putting forward a data compression means, which reducing data transfer volume and adding data transfer efficiency. Resolving the data transfer buffer problem by adopting the sending or receiving round-robin queue technique. 设计了一种针对开关量的数据压缩方法,减少了数据传送量,提高了数据传输效率,并采用发送/接收循环队列技术,解决了数据传输时的缓冲问题。